package main;
import java.io.Serializable;

/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

/**
 *
 * @author Ira
 */
public class Landmark implements Location, Serializable {
    /**
	 * 
	 */
	private static final long serialVersionUID = 4303575060506683122L;
	private String name;
    private Trail next;
    protected Store store;
   
    public Landmark(String name, Trail next){
        this.name = name;
        this.next = next;
    }
    
    
    
    public Landmark(){
    
    }
    /**
     * 
     * @return the store
     */
    public Store getStore() {
		return store;
	}

	public void setStore(Store store) {
		this.store = store;
	}

	/**
     * @return the name
     */
    public String getName() {
        return name;
    }

    /**
     * @param name the name to set
     */
    public void setName(String name) {
        this.name = name;
    }

    /**
     * @return the next
     */
    public Trail getNext() {
        return next;
    }

    /**
     * @param next the next to set
     */
    public void setNext(Trail next) {
        this.next = next;
    }
    
}
